Contents | Index | < Browse | Browse >
LETTERfrexpULETTER
Splits a floating-point value into mantissa and exponent.
Overview
#include <math.h>
r = frexp(x,expo);
double r;
double x;
int *expo;
Portability
ANSI
Description
"frexp" splits the floating-point value "x" into its mantissa and exponent
parts. The exponent will be placed in the variable "expo" points to and is
specified to a base of 2.
Returns
The mantissa as a double-precision floating-point value.